package com.vhall.component.entity.room.vo;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.plugin.common.constant.RoomConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 返回给前端的 vo对象
 *
 * @author rui.zhou
 * @date 2021/4/20 14:59
 */

@Data
public class RoomAttrRespVO implements Serializable {

    @JsonProperty(value = "all_banned")
    private Integer allBanned = RoomConstant.DEFAULT_ZERO;

    @JsonProperty(value = "is_board")
    private Integer isBoard = RoomConstant.DEFAULT_ZERO;

    @JsonProperty(value = "is_desktop")
    private Integer isDesktop = RoomConstant.DEFAULT_ZERO;

    @JsonProperty(value = "is_doc")
    private Integer isDoc = RoomConstant.DEFAULT_ZERO;


    @JsonProperty(value = "is_handsup")
    private Integer isHandsup = RoomConstant.DEFAULT_ZERO;

    @JsonProperty(value = "is_invitecard")
    private Integer isInviteCard = RoomConstant.DEFAULT_ZERO;

    @JsonProperty(value = "main_screen")
    private String mainScreen;

    @JsonProperty(value = "doc_permission")
    private String docPermission;

    private String rebroadcast;

    @JsonProperty(value = "rebroadcast_channel_id")
    private String rebroadcastChannelId;

    @JsonProperty(value = "speaker_list")
    private List<SpeakUsersVO> speakerList;

    @JsonProperty(value = "start_type")
    private String startType;

    private Map stream;

    private Map tool;

    @JsonProperty(value = "tool_records")
    private Map toolRecords;

    /**
     * 自定义菜单,敏感词,跑马灯,挂机开关
     * key 各功能单词
     * value 0.关闭 1.开启
     */
    @JsonProperty(value = "room_config")
    private Map<String, Integer> switchState;

    @JsonProperty(value = "pendant")
    private JSONObject pendant;


}
